package com.atguigu.eduservice.mapper;

import com.atguigu.eduservice.entity.EduCourse;
import com.atguigu.eduservice.entity.vo.CourseWebVO;
import com.atguigu.eduservice.entity.vo.PublishCourseInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author zr
 * @since 2021-11-12
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    /**
     *  根据课程Id查询课程详细信息
     * @param courseId
     * @return
     */
    PublishCourseInfoVO getPublishCourseInfoVO(String courseId);

    /**
     *
     * @param courseId
     * @return
     */
    CourseWebVO getCourseFrontInfo(String courseId);
}
